package com.quanyan.platform.model.resp;

import com.quanyan.user.response.RespPlaceVideoInfo;
import com.quanyan.user.response.RespVideoDetail;

import java.io.Serializable;
import java.util.List;

/**
 * Created by slong.guo on 2017/3/15.
 */
public class GatherStadiumVideoRecommend implements Serializable {
    private static final long serialVersionUID = -6562261603197985107L;

    private Integer ST_stadiumID;
    private Integer ST_videoID;

    private String ST_videoTitle;
    private String ST_imageUrl;
    private String ST_videoUrl;
    private List<String> ST_tags;
    private Integer ST_duration;
    private String ST_intro;

    public GatherStadiumVideoRecommend() {
    }

    public GatherStadiumVideoRecommend(RespVideoDetail rvd) {
        this.ST_videoID = rvd.getId();
        this.ST_videoTitle = rvd.getTitle();
        this.ST_imageUrl = rvd.getImageUrl();
        this.ST_videoUrl = rvd.getVideoUrl();
        this.ST_tags = rvd.getLabelNames();
        this.ST_duration = rvd.getDuration();
        this.ST_intro = rvd.getBrief();
    }

    public GatherStadiumVideoRecommend(RespPlaceVideoInfo videoInfo) {
        this.ST_stadiumID = videoInfo.getPlaceId();
        if (videoInfo.getVideoDetail() != null) {
            this.ST_videoID = videoInfo.getVideoDetail().getId();
            this.ST_videoTitle = videoInfo.getVideoDetail().getTitle();
            this.ST_imageUrl = videoInfo.getVideoDetail().getImageUrl();
            this.ST_videoUrl = videoInfo.getVideoDetail().getVideoUrl();
            this.ST_tags = videoInfo.getVideoDetail().getLabelNames();
            this.ST_duration = videoInfo.getVideoDetail().getDuration();
            this.ST_intro = videoInfo.getVideoDetail().getBrief();
        }

    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getST_stadiumID() {
        return ST_stadiumID;
    }

    public void setST_stadiumID(Integer ST_stadiumID) {
        this.ST_stadiumID = ST_stadiumID;
    }

    public Integer getST_videoID() {
        return ST_videoID;
    }

    public void setST_videoID(Integer ST_videoID) {
        this.ST_videoID = ST_videoID;
    }

    public String getST_videoTitle() {
        return ST_videoTitle;
    }

    public void setST_videoTitle(String ST_videoTitle) {
        this.ST_videoTitle = ST_videoTitle;
    }

    public String getST_imageUrl() {
        return ST_imageUrl;
    }

    public void setST_imageUrl(String ST_imageUrl) {
        this.ST_imageUrl = ST_imageUrl;
    }

    public String getST_videoUrl() {
        return ST_videoUrl;
    }

    public void setST_videoUrl(String ST_videoUrl) {
        this.ST_videoUrl = ST_videoUrl;
    }

    public List<String> getST_tags() {
        return ST_tags;
    }

    public void setST_tags(List<String> ST_tags) {
        this.ST_tags = ST_tags;
    }

    public Integer getST_duration() {
        return ST_duration;
    }

    public void setST_duration(Integer ST_duration) {
        this.ST_duration = ST_duration;
    }

    public String getST_intro() {
        return ST_intro;
    }

    public void setST_intro(String ST_intro) {
        this.ST_intro = ST_intro;
    }
}
